-
-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a link to Add-ons in the Settings #1656
Conversation
This is how the dialog looks when there is new "What's New" information: Screenshot_com igalia wolvic dev_2024 12 06-20 53 17 419_016 And this is how it looks in the regular state. Screenshot_com igalia wolvic dev_2024 12 06-20 51 32 799_385 I think that placing the Add-ons link here makes a lot of sense but am not completely convinced about the rest of the layout. What do you think? |
I wholeheartedly agree with placing the addons there, now that I see it, it makes total sense to me. Regarding the other two elements I am not convinced either, looks too texty to me (the other elements are big icons) |
089a144
to
fb71766
Compare
More information about the color attributes for the buttons is available at: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was about to approve it but I found a significant usability issue. If you open the addons from the settings then there is no clear way to exit the addons tab to go back to the normal browsing.
When visiting bookmarks or downloads is different because you see that the button is pressed in the navigation bar (that could be improved with colors too), but in the case of the addons there is no easy and intuitive way to go back. Somehow you have to discover that clicking on the bookmarks button in the nav bar can take you back
@svillar Good catch. You can exit the Add-ons by clicking on the ✕ button at the top-right corner, but that is not very discoverable. I think that there is also a bug in the code that updates the status of tray buttons. The Bookmarks button should become visibly active and clicking it should take you back to the browser. However, that code might not be working correctly in all cases. |
fb71766
to
9c16d93
Compare
Ensure that the state of the tray buttons for bookmarks and downloads stays consistent in all cases. This fixes several bugs, including one where the state of these buttons was not updated when the user navigated to another section within the Library, and another where the icon padding was not always updated correctly. The main change is that LibraryPanel defines a Controller interface that is used to set the current panel content. This is called from the navigation buttons within the Library, so the containing WindowWidget is able to update its state accordingly.
Add a button to open the Add-ons page from the Settings, since that is a pretty obvious place to find this functionality. To avoid messing up the layout of the honeycomb buttons, I've moved the "What's New" button closer to the version details. After some experimentation, I've placed two small buttons on the right side of the Settings window, linking to the Feedback and News pages. The background of the What's New button becomes highlighted when the details of the new version are available (this replaces the little blue dot that we had before). I have also simplified the implementation of the hidden shortcut to show the version details. Now it is just a matter of clicking on the app logo or the app name. Finally, I have also simplified the layout in the Settings window by removing an unneeded LinearLayout and using the parent ConstraintLayout instead.
9c16d93
to
68c79d0
Compare
@svillar I have updated this PR so when you open the Add-ons panel from the Settings, in addition to the ✕ button on the top-right corner, the Bookmarks button in the Tray will also become active. Clicking that Bookmarks button will switch to showing the bookmarks, and clicking again will go back to Web browsing. I have added a commit ensuring that the state of the Bookmarks and Downloads buttons in the Tray remains consistent through the different events. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Add a button to open the Add-ons page from the Settings, since that is a pretty obvious place to find this functionality.
To avoid messing up the layout of the honeycomb buttons, I've moved the "What's New" button closer to the version details. After some experimentation, I've placed two small buttons on the right side of the Settings window, linking to the Feedback and News pages.
The background of the What's New button becomes highlighted when the details of the new version are available (this replaces the little blue dot that we had before).
I have also simplified the implementation of the hidden shortcut to show the version details. Now it is just a matter of clicking on the app logo or the app name.
Finally, I have also simplified the layout in the Settings window by removing an unneeded LinearLayout and using the parent ConstraintLayout instead.